Can't build 1.6.5 in VS2019
See original GitHub issueI tried:
-
Only the .NET Core SDK from the build instructions is installed.
-
Checkout 1.6.5 (cb9264828def32d2c55ec32dc0426c8a72aa793d)
-
Run
.\.paket\paket.exe restore
-
Rebuild twice in Visual Studio
I get:
1>Properties\AssemblyInfo.cs(7,12,7,21): error CS0246: The type or namespace name 'ThemeInfoAttribute' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(7,12,7,21): error CS0246: The type or namespace name 'ThemeInfo' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(9,12,9,23): error CS0246: The type or namespace name 'XmlnsPrefixAttribute' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(9,12,9,23): error CS0246: The type or namespace name 'XmlnsPrefix' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(10,12,10,23): error CS0246: The type or namespace name 'XmlnsPrefixAttribute' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(10,12,10,23): error CS0246: The type or namespace name 'XmlnsPrefix' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(12,12,12,27): error CS0246: The type or namespace name 'XmlnsDefinitionAttribute' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(12,12,12,27): error CS0246: The type or namespace name 'XmlnsDefinition' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(13,12,13,27): error CS0246: The type or namespace name 'XmlnsDefinitionAttribute' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(13,12,13,27): error CS0246: The type or namespace name 'XmlnsDefinition' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(14,12,14,27): error CS0246: The type or namespace name 'XmlnsDefinitionAttribute' could not be found (are you missing a using directive or an assembly reference?) 1>Properties\AssemblyInfo.cs(14,12,14,27): error CS0246: The type or namespace name 'XmlnsDefinition' could not be found (are you missing a using directive or an assembly reference?) ...14000 more errors...
-
.\build.ps1
I get:
MahApps.Metro\src\MahApps.Metro.sln.metaproj : error MSB4057: The target "restore" does not exist in the project.
I’m running VS 16.2.3.
Any ideas?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:14 (3 by maintainers)
Top Results From Across the Web
VS2019 can't build any project
I have just installed VS2019 Version 16.7.4. I can't compile any c# project (WinForms, WPF and Console application ).
Read more >NETSDK1045: The current .NET SDK does not support ...
This error occurs when the build tools can't find the version of the .NET SDK that's needed to build a project. This is...
Read more >c# - Visual studio 2019 v16.6 can't build .net5 console ...
As per https://dotnet.microsoft.com/download/dotnet/5.0 it looks like you also need VS 2019 16.8 preview 3 for it to recognize it.
Read more >[SOLVED] BuildFailedException: Burst compiler (1.1.2) ...
After uninstalling VS 2019 I was able to build. So it must have had to do with the "Unable to determine tools version...
Read more >I can't build C++ projects from UE5 EA 2 in Visual Studio ...
So I have created a brand new third person template c++ project from the UE5 EA2 launcher. It creates the project files fine,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi all,
I have the same issue than JVimes. Could you please re-open the ticket? master => VS2017 ok develop => VS2019 ok master-2019-1.6.5 KO thank you.
I created this branch to allow a build in VS 2019 (without .Net 4.0 target)
https://github.com/MahApps/MahApps.Metro/tree/master-vs2019-v1.6.5