Click here to Skip to main content
15,397,498 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: any resources for learning porpuses Pin
#realJSOP21-Nov-21 3:46
mva#realJSOP21-Nov-21 3:46 
GeneralRe: any resources for learning porpuses Pin
lv1121-Nov-21 19:39
Memberlv1121-Nov-21 19:39 
GeneralRe: any resources for learning porpuses Pin
#realJSOP21-Nov-21 22:18
mva#realJSOP21-Nov-21 22:18 
GeneralRe: any resources for learning porpuses Pin
trønderen22-Nov-21 7:34
Membertrønderen22-Nov-21 7:34 
GeneralRe: any resources for learning porpuses Pin
lv1122-Nov-21 7:42
Memberlv1122-Nov-21 7:42 
QuestionC# and COM Events Pin
Per Nilsson10-Nov-21 21:56
MemberPer Nilsson10-Nov-21 21:56 
AnswerRe: C# and COM Events Pin
Richard Deeming10-Nov-21 22:44
mveRichard Deeming10-Nov-21 22:44 
QuestionDeploying a .NET App with Nuget Dependencies Pin
TNCaver29-Oct-21 5:56
MemberTNCaver29-Oct-21 5:56 
When creating a .NET Framework 4.7.2 class library that uses a lot of Microsoft's NuGet packages, and creating an internal NuGet package from the library, is there a way to wrap all those MS packages into the library so that they aren't all required in apps built using my library?

Background:

I've got a legacy .NET Framework 4.7.2 console app, initially deployed a few years ago to an app server using a setup project. Updates and enhancements were deployed by merely copying the exe to the installation location, as well as any new DLLs the enhancements required.

We recently decided to have all our internal applications write their logs to Application Insights in Azure, so I created a .NET Framework 4.7.2 class library with this functionality, and added the 20-odd NuGet packages required (this overhead is insane) to support writing to AI. I built my own NuGet package for this library, uploaded it to our DevOps Artifacts. Then I added my package to the legacy app, and when I built the app it added all those MS DLLs to the obj/Release folder. I copied the new DLLs and the new exe to the deployed folder on the server, but running it fails as it can't find the MS DLLs. Setup projects are no longer supported (why???), so I don't know how to get this to work.

Any ideas?
If you think 'goto' is evil, try writing an Assembly program without JMP.

AnswerRe: Deploying a .NET App with Nuget Dependencies Pin
Gerry Schmitz29-Oct-21 7:06
mveGerry Schmitz29-Oct-21 7:06 
AnswerRe: Deploying a .NET App with Nuget Dependencies Pin
Richard Deeming31-Oct-21 23:10
mveRichard Deeming31-Oct-21 23:10 
GeneralRe: Deploying a .NET App with Nuget Dependencies Pin
TNCaver1-Nov-21 6:25
MemberTNCaver1-Nov-21 6:25 
GeneralRe: Deploying a .NET App with Nuget Dependencies Pin
Richard Deeming1-Nov-21 22:49
mveRichard Deeming1-Nov-21 22:49 
GeneralRe: Deploying a .NET App with Nuget Dependencies Pin
TNCaver2-Nov-21 6:51
MemberTNCaver2-Nov-21 6:51 
QuestionConfiguration.Save Writes Invalid Configuration File Pin
Member 1266077621-Oct-21 16:45
MemberMember 1266077621-Oct-21 16:45 
AnswerRe: Configuration.Save Writes Invalid Configuration File Pin
Dave Kreskowiak22-Oct-21 5:20
mveDave Kreskowiak22-Oct-21 5:20 
GeneralRe: Configuration.Save Writes Invalid Configuration File Pin
Member 1266077622-Oct-21 7:09
MemberMember 1266077622-Oct-21 7:09 
GeneralRe: Configuration.Save Writes Invalid Configuration File Pin
Member 154156281-Nov-21 18:04
MemberMember 154156281-Nov-21 18:04 
AnswerDebrief: Configuration.Save Writes Invalid Configuration File Pin
Member 1266077627-Oct-21 10:18
MemberMember 1266077627-Oct-21 10:18 
GeneralRe: Debrief: Configuration.Save Writes Invalid Configuration File Pin
Peter_in_278027-Oct-21 10:54
professionalPeter_in_278027-Oct-21 10:54 
GeneralRe: Debrief: Configuration.Save Writes Invalid Configuration File Pin
Member 1266077627-Oct-21 11:20
MemberMember 1266077627-Oct-21 11:20 
GeneralRe: Debrief: Configuration.Save Writes Invalid Configuration File Pin
Peter_in_278027-Oct-21 11:40
professionalPeter_in_278027-Oct-21 11:40 
GeneralRe: Debrief: Configuration.Save Writes Invalid Configuration File Pin
phil.o27-Oct-21 11:46
mvephil.o27-Oct-21 11:46 
QuestionMVC Controller State Managment Pin
Kunal Mandloi13-Sep-21 22:18
MemberKunal Mandloi13-Sep-21 22:18 
AnswerRe: MVC Controller State Managment Pin
Richard Deeming13-Sep-21 22:26
mveRichard Deeming13-Sep-21 22:26 
AnswerRe: MVC Controller State Managment Pin
Kunal Mandloi14-Sep-21 4:18
MemberKunal Mandloi14-Sep-21 4:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.