4,629 questions
0
votes
1
answer
41
views
Is it possible to deploy a Visual Studio solution to a remote server using the Publish command?
As mentioned in the subject line is it possible to deploy a Visual Studio solution to a remote server using the Publish command? As currently these are the only options I have when clicking Publish:
...
0
votes
0
answers
38
views
Dealing with utility projects in self-contained .NET
x-y problem
I need to deploy a ASP.NET application, and due to Microsoft not having a method to have an unattended .NET runtime install to use in my provision scripts (yes I know they have this for CI/...
1
vote
1
answer
115
views
You must include a valid app package manifest file
While trying to publish our new .NET MAUI project, I received the following error message:
MakeAppx : error : You must include a valid app package manifest file named AppxManifest.xml in the source. [...
0
votes
1
answer
23
views
Using IntermediateOutputPath Not copying to Target Path
I have a Website Application that I use the Publish option to write the output to a local folder which I then zip up and move to our deployment server. We upgraded out packages and started to get an ...
0
votes
1
answer
132
views
I cannot publish my completed .Net Maui application
I completed my .net maui application and got it working 100%. Now I want to publish it into a windows setup.exe file. However, when I right-click on the solution name in the solution explorer, the ...
0
votes
0
answers
146
views
AOT instance failed, .NET 8 MAUI app IOS release build
I got an AOT instance dll error while building/publishing my .NET 8 MAUI ios app in release mode. No problem with the debug mode.
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8324/...
0
votes
1
answer
110
views
Visual Studio 2022 crashing when opening SQL objects in SQL project and issues publishing project
This is a very odd issue I have been experiencing today while trying to publish my graph tables and edges to a SQL Server database. First, when trying to open a SQL file (i.e. dbo.MyTable.sql), the ...
1
vote
0
answers
113
views
Building a single java project for different jdk versions
Is there a proper or easy way of building one project for different JDK versions, the project would use different versions of its dependency depending on what JDK version it's built with.
I have a ...
0
votes
0
answers
71
views
Metadata file '... .dll' could not be found
I have a console application which has project reference of a web application.
This is how the project reference is added in the csproj file of the console application
<ItemGroup>
<...
0
votes
1
answer
195
views
Metadata file could not be found when publishing
I am in Visual Studio 2022. When I compile all goes fine. But this problem occurs only when publishing:
I have read a lot of posts telling about this problem, but all of them are related to build ...
0
votes
0
answers
29
views
When building/publishing a .net application, why does the resulting application require an exact .NET runtime build number?
I am trying to publish a Windows Winforms application for .NET against the .NET 6.0 Target Framework. The client machine however is demanding an exact installation of Microsoft Windows Desktop Runtime ...
0
votes
0
answers
60
views
Sitecore Publishing Service 2.2 update 1 Pop up dialog pops out with blank language and target
We are using Sitecore 8.2 Update 7 and Publishing Service 2.2 Update 1
When the publish button is clicked, as we know a pop-up appears, but for a brief moment, the "Languages" and "...
0
votes
1
answer
55
views
Publish a basic M365 CSV connector
Stuck with my first experience in setting up a Microsoft provided CSV connection in Search and Intelligence in M365 Admin Center.
I've configured the CSV to use an ADLS connection, configured schema ...
0
votes
2
answers
41
views
Why is my pre-publish PowerShell script executed twice?
I work on a Blazor Wasm PWA with AOT. I created a PowerShell script, that I want to execute before the publish build. So, I added
<Target Name="PrePublishScript" BeforeTargets="...
0
votes
1
answer
497
views
Struggling to publish Blazor MAUI hybrid app from Visual Studio 2022
I have an app and a library, both target .NET 9. I can build and run without issues both in release and debug configuration.
When I try to publish for Windows, the dependency in the library gets a ...
0
votes
1
answer
318
views
How to include third party libraries in dotnet publish as single file?
We have a WPF application that we are trying to publish as a single file.
I am running the command:
dotnet publish .\{path_to_projectA_csproj_file}.csproj -c Release --self-contained -p:...
0
votes
0
answers
42
views
Is it possible to get analytics data from published VS Code extension?
We would like to get analytics from our published extension, like session length, engagement etc. How can we do that? I see that we can get analytics about acquisition over time here but we would like ...
1
vote
0
answers
33
views
Visual Studio 2022 Community Publish event called too early?
I want to delete appsettings.json from the publish folder after publishing the web application. I've added a bat file to do the job and call it on AfterTargets="Publish". My bat file gets ...
1
vote
1
answer
346
views
How do I properly publish a Packaged Blank WinUI 3 application?
I just created a Blank App, Packaged (WinUI 3 in Desktop) project in Visual Studio 2022 with absolutely no added code or external packages that weren't pre-installed and tried to publish it from the ...
0
votes
0
answers
219
views
Using shinylive to host a shiny app on GitHub
I am reaching out regarding hosting a Shiny app on GitHub Pages instead of shinyapps.io. I followed the steps outlined in the link Using Shinylive to host Shiny app on GitHub Pages | Training-modules.
...
2
votes
0
answers
207
views
How do I generate and publish maven-metadata.xml at the G (group) level for a custom Maven plugin
I've created a custom maven plugin and I've published it to the central maven repository using the org.sonatype.central:central-publishing-maven-plugin plugin.
I run the mvn deploy command to execute ...
0
votes
1
answer
53
views
Set value in appsettings based on publish profile in .NET Core
I'm using .NET 6.0, my appsettings.json looks like this:
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"System":...
1
vote
1
answer
77
views
Objects associated with enums in Swift lack ObservableObject and @Published wrappers, preventing state changes from updating the UI
I have a MainViewModel that holds an array of enums with associated objects. However, when I use this in a SwiftUI view, the variable loses its @Published wrapper, and the UI doesn't update or get ...
1
vote
0
answers
133
views
Missing Entitlement. The bundle ... is missing entitlement 'com.apple.developer.networking.networkextension'."
I'm encountering an issue while trying to publish an app on TestFlight. The app in question is Home Assistant, which I've compiled from the source. I am able to compile and install the app on my ...
1
vote
0
answers
41
views
Publish GTK+ Application with msys2 and mingw64
I want to publish my GTK+ application with mingw64. But although I copied the gdkpixbuf loaders in right place, the application can't find gdkpixbuf loaders and My application look's worse. How can I ...