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
dotnet build and dotnet test are failing with the current MSTest project we have. Adding EnableMSIXTooling = true to the test project csproj gets past the errors at least for an MSIX app project, but results in failures later on related to resources.pri not being dropped in the test build output. Setting WindowsPackageType = None in the app project to run unpackaged breaks dotnet build.
msbuild and vstest.console.exe don't hit these issues with the current test project we have.
To Reproduce
Create a project with an MSTest project
Run dotnet build from the solution folder
Additional context
40613036 - dotnet build of an unpackaged app doesn't work
No response
Applies to the following platforms:
WinUI
WPF
UWP
About your setup
Visual Studio Version:
Template Studio Wizard Version:
Windows Build:
The text was updated successfully, but these errors were encountered:
mikebattista
added
the
bug
The issue relates to the wizard not working or a problem with the generated code.
label
Jul 22, 2022
The test project will need <EnableMsixTooling>true</EnableMsixTooling> to support .NET CLI. However, that results in resources.pri not being copied to the test project output as expected.
Also, dotnet build with an unpackaged app project seems to be broken independent of Template Studio or the test project.
Describe the bug
dotnet build
anddotnet test
are failing with the current MSTest project we have. Adding EnableMSIXTooling = true to the test project csproj gets past the errors at least for an MSIX app project, but results in failures later on related to resources.pri not being dropped in the test build output. Setting WindowsPackageType = None in the app project to run unpackaged breaks dotnet build.msbuild
andvstest.console.exe
don't hit these issues with the current test project we have.To Reproduce
Additional context
40613036 - dotnet build of an unpackaged app doesn't work
No response
Applies to the following platforms:
About your setup
The text was updated successfully, but these errors were encountered: