NuGetReferenceSwitcher | Visual Studio extension to switch between NuGet | Code Editor library
kandi X-RAY | NuGetReferenceSwitcher Summary
kandi X-RAY | NuGetReferenceSwitcher Summary
Visual Studio extension to switch between NuGet and project references.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of NuGetReferenceSwitcher
NuGetReferenceSwitcher Key Features
NuGetReferenceSwitcher Examples and Code Snippets
Community Discussions
Trending Discussions on NuGetReferenceSwitcher
QUESTION
Please I have a problem. sorry if question title are not recognized well, I can't upload full-image during my reputations.
Edit: I need something like that maybe
https://github.com/RicoSuter/NuGetReferenceSwitcher
or
https://github.com/0UserName/NuGetSwitcher
but above repos are not updated to VS 2022? please any help?
Edit: Looks like other people asks about that issue: https://github.com/dotnet/sdk/issues/1151
Shortly, I need to make a Class Library project can modify/edit in my side only. Other people only use DLL reference or Nuget package.
What I need to do?
- I need to create a main project that used across me as public source and other people as DLL only not debuggable.
- In my side the class library project must seen if I choose MSBuild configuration (Debug mode) not Nuget DLL. but I need to modify whole core source. Then republish it again as Nuget to allow other people to use it privately.
- I guess the whole gape in main project .csproj file. I need to modify it to allow Configuration to switch between Nuget build that visible to other developers and Debug that only visible at me. When choose it the
should load and should become visible at my solution.
- You can ignore Github things I mentioned. A repo can be private/public wihtout problem.
Problem Short Description:
- I have main project in solution A. (Must be GIT public for other people)
- I have class library in solution B (Which maybe used in 2 main projects) (Must be GIT private repo for me only)
- I need the class library source only visible for me not other people. they just see Package or DLL.
- The main project are public Git repo, while class library are private Git repo.
- In my case I need to setup a 2 types of MSBuild configuration. (Debug/) and (Nuget/ )
- the other people only allowed to use which are private nuget package and they must not debug the class library.
- I need only me to use (
Debug/
) -> So I can change class library directly and build Nuget package for other people without PDB file,etc included.
What I try to do? What topics I read?
- I Following topics I follow: Use local source code of NuGet package to debug and edit code (@Mr Qian comment)
I create two solutions. First (FooProject Executable), Second(FooClassLibrary)
I modify the FooProject.csproj and add following lines
...
ANSWER
Answered 2022-Feb-20 at 19:19Currently there's no official solution for that.
So if anyone need what approach I collected and I modify some tags to prevent conflict PackageName with ProjectName, Here's final solution, Which original copied from https://github.com/dotnet/sdk/issues/1151#issuecomment-459275750 Many thanks to script author:
Here's enhancement version of it:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install NuGetReferenceSwitcher
Download for Visual Studio 2019
Download for Visual Studio 2017
Download for Visual Studio 2015
Download for Visual Studio 2013
Download for Visual Studio 2012
In order to build the extension, you need to install the Visual Studio SDK(s):.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page