-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The target "BundleApp" does not exist in the project. #10
Comments
I had the same issue but adding these worked: <PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<RuntimeIdentifiers>osx-x64</RuntimeIdentifiers>
<CFBundleName>NftJsonGen</CFBundleName> <!-- Also defines .app file name -->
<CFBundleDisplayName>NftJsonGen</CFBundleDisplayName>
<CFBundleIdentifier>com.endomint</CFBundleIdentifier>
<CFBundleVersion>1.0.0</CFBundleVersion>
<CFBundleShortVersionString>1.0.0</CFBundleShortVersionString>
<OutputType>WinExe</OutputType>
<CFBundlePackageType>APPL</CFBundlePackageType>
<CFBundleExecutable>NftJsonGen</CFBundleExecutable>
<CFBundleIconFile>Logo.icns</CFBundleIconFile> <!-- Will be copied from output directory -->
<NSPrincipalClass>NSApplication</NSPrincipalClass>
<NSHighResolutionCapable>true</NSHighResolutionCapable>
</PropertyGroup> |
I'm getting the same issue with these added project values.
|
After struggling with it myself for a while, you need to supply the |
I've added the nuget package to my project. Then I've added the following lines to my csproj file:
and ran
dotnet msbuild -t:BundleApp -p:RuntimeIdentifier=osx-x64
via commandline on my csproj file. But I receive this error:The target "BundleApp" does not exist in the project.
What am I doing wrong?The text was updated successfully, but these errors were encountered: