Open heartacker opened 4 years ago
Be as descriptive as you can with your title.
my app has different reference with different platform. and i can build and debug using VS2019, but i can't publish it using dotnet cli dotnet publish
dotnet publish
that is csproj file
<ItemGroup> <PackageReference Include="pythonnet_netstandard_py37_win" Version="2.5.1" Condition="'$(Platform)' == 'x64'"/> <PackageReference Include="pythonnet_netstandard_py37_win_x86" Version="2.5.1" Condition="'$(Platform)' == 'x86'"/> </ItemGroup>
my cli cmd:
cd /d %~dp0 dotnet publish -o ./TPMS.sln.Release/bin -c Release -r win-x64 --no-self-contained ../ATC.TPMS.GUI/ATC.TPMS.GUI.csproj dotnet publish -o ./TPMS.sln.Release/bin_x86 -c Release -r win-x86 --no-self-contained ../ATC.TPMS.GUI/ATC.TPMS.GUI.csproj
Hi @heartacker,
Could you share a binlog of the failing publish?
Issue Title
Be as descriptive as you can with your title.
General
my app has different reference with different platform. and i can build and debug using VS2019, but i can't publish it using dotnet cli
dotnet publish
that is csproj file
my cli cmd: