Intellisense does not work
workgroupengineering opened this issue · 0 comments
workgroupengineering commented
Describe the bug
Intellisense does not work
To Reproduce
- Create App from
Avalonia from Cross Template
name ATI - Set Target net8.0
- Build
- Try Intellisense
AvaloniaVS plugin version
Avalonia version
11.0.7
Visual Studio version
No response
Relevant log output
Extension try find `references` file in `ATI\ATI\ATI.Desktop\obj\Debug\net8.0\Avalonia` but does not exist.
Additional context
Workaround
Add following target at desktop project
<Target Name="WA"
AfterTargets="CompileAvaloniaXaml"
>
<PropertyGroup>
<AvaloniaXamlReferencesTemporaryFilePath Condition="'$(AvaloniaXamlReferencesTemporaryFilePath)' == ''">$(IntermediateOutputPath)/Avalonia/references</AvaloniaXamlReferencesTemporaryFilePath>
</PropertyGroup>
<WriteLinesToFile
Condition="'$(_AvaloniaForceInternalMSBuild)' != 'true'"
File="$(AvaloniaXamlReferencesTemporaryFilePath)"
Lines="@(ReferencePathWithRefAssemblies)"
Overwrite="true" />
</Target>