You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SqlPackage or DacFx Version: Any SDK version - still in 1.0.0-rc1
.NET Framework (Windows-only) or .NET Core: Net8 LTS
Environment (local platform and source/target platforms):
Windows 11 + VS Pro 17.12.178.10385
Steps to Reproduce:
We pull down our solution (consisting of 200+ projects, all .NET8) - Our solution file is about 10 years old and have gone through many, many upgrades and restructuring.
Build solution for first time in Visual Studio (we get the same error when using dotnet build the first time)
This also happens when we upgrade the SDK version in the csproj.
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\NuGet\17.0\Microsoft.NuGet.targets(198,5): error : Your project file doesn't list 'win' as a "RuntimeIdentifier". You should add 'w
in' to the "RuntimeIdentifiers" property in your project file and then re-run NuGet restore.
Workaround
To resolve this we have to manually delete the bin AND obj folder in each SQL project directory
close Visual Studio
reopen visual studio
Build (not rebuild) each SQLProject one by one..
Building the whole solution works fine then from this point forward
Did this occur in prior versions? If not - which version(s) did it work in?
All of them
(DacFx/SqlPackage/SSMS/Azure Data Studio)
The text was updated successfully, but these errors were encountered:
Windows 11 + VS Pro 17.12.178.10385
Steps to Reproduce:
Workaround
Did this occur in prior versions? If not - which version(s) did it work in?
All of them
(DacFx/SqlPackage/SSMS/Azure Data Studio)
The text was updated successfully, but these errors were encountered: