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
Am I doing something wrong? I'm trying to build a nuget package that previously worked fine but now it keeps trying to build in either C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\ or C:\Windows\System32\ depending on if I'm running as administrator. I'm using Visual Studio 2022 and have <PackageOutputPath>..\nuget\ </PackageOutputPath> in my csproj file. If I try to edit that in VS project properties Package Output Path it always resets to $(MSBuildStartupDirectory)\nuget\ and can't be changed. I switched to NET6 & NET8 targeting recently but changing it back to NET7 doesn't help. Other projects are configured exactly the same way in the same parent solution and work as I expect.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Am I doing something wrong? I'm trying to build a nuget package that previously worked fine but now it keeps trying to build in either C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\ or C:\Windows\System32\ depending on if I'm running as administrator. I'm using Visual Studio 2022 and have <PackageOutputPath>..\nuget\ </PackageOutputPath> in my csproj file. If I try to edit that in VS project properties Package Output Path it always resets to $(MSBuildStartupDirectory)\nuget\ and can't be changed. I switched to NET6 & NET8 targeting recently but changing it back to NET7 doesn't help. Other projects are configured exactly the same way in the same parent solution and work as I expect.
Beta Was this translation helpful? Give feedback.
All reactions