Questions tagged [project-reference]

161 questions
4
votes
0 answers

PackageReference to project in the same Solution/git repository

At the moment I'm trying to setup a solution with a implementations class library and an abstractions project. I want to have both packages on nuget.org. Normally when you're just using ProjectReferences, you'd only have to point to the…
Pieterjan
  • 2,738
  • 4
  • 28
  • 55
4
votes
2 answers

Visual Studio 2010 Add-in: How to locate project references?

How do you programmatically find & iterate all project & dll references within a Visual Studio 2010 solution? I can iterate all projects and found the Project.ProjectItems property and Project.Properties but have not found any way to reference the…
4
votes
0 answers

Typsescript project references, composite and allowJS

I want to be able to share code between a few Typescript projects. ts-project ├── project1 │   ├── package.json │   ├── somecode.ts │   └── tsconfig.json ├── project2 │   ├── somecode.ts │   └── tsconfig.json └── shared ├── dist ├──…
leonormes
  • 979
  • 10
  • 29
4
votes
4 answers

Cross referencing assemblies

I have three projects in my .net solution. The main project and two class library projects. I have found out that I need to cross reference the class library projects. Can I do that? Is it safe or there are some considerations?
4
votes
1 answer

Visual Studio 15 CTP project refence error: An item with the caption "" already exists

I try to use Visual Studio 2014 CTP 4 for developing, but for any project I open, I always get the same error on project loading: An item with the caption "" already exists in the tree with the same sort order as the item being added. References…
ggrnd0
  • 41
  • 4
4
votes
1 answer

VS/MSBUILD: Copy output files of sub-project without adding reference to exe

I have a solution wich consists of main application MainProject and several plugin projects Plugin1, Plugin2 etc. Each of them is build in a separate project within Visual Studio. For building the soution, I want all files of the plugins to be…
MartinStettner
  • 28,719
  • 15
  • 79
  • 106
3
votes
1 answer

To which Project should LibVLC dependencies be added?

I have a Solution with .NET Framework Project A which builds a winforms application containing a class, MyPlayer which requires LibVLCSharp. In order for the application to build and run correctly I had to add the following Nuget…
kwill
  • 3,211
  • 1
  • 16
  • 18
3
votes
2 answers

how do I reference a separate project in xcode 4?

How do I reference another project which has code I wish to leverage in XCode 4. In particular I'm trying to make use of the NSDate extensions from here. Some notes: I was assuming I should probably reference rather than trying build a framework…
Greg
  • 34,042
  • 79
  • 253
  • 454
3
votes
2 answers

Typescript 3 project reference with third party library (from npm)

I am using Typescript and am trying to build a background sync with service worker. Someone suggested I should do this: You can split your project into multiple parts with separate tsconfig.json files: one part that includes the dom lib and one…
3
votes
1 answer

How to deploy native images (NGen) using Wix and project references

I'm using Wix/Votive to build an installer for my .NET Solution. I include the binaries from the other projects (EXE and DLLs) using project references (which internally uses heat.exe I think). What I want to do now is, to pre-jit all assemblies…
wkada
  • 207
  • 1
  • 2
  • 9
3
votes
4 answers

Visual Studio cannot find reference

The problem Suddenly, Visual Studio (2015 RC) started throwing error CS7069 in my face a lot. It states Reference to type '...' claims it is defined in '', but it could not be found. Yet VS's functionality "Goto reference" did function…
JBSnorro
  • 6,048
  • 3
  • 41
  • 62
3
votes
0 answers

StyleCop rule for checking project references

Sometimes when updating a dll version, the references to that dll from other projects suddenly refer to the GAC instead of our custom assemblies folder. This is a problem, because a project may refer to an old dll and will not deploy on the TEST…
Jesse de Wit
  • 3,867
  • 1
  • 20
  • 41
3
votes
3 answers

Reference trouble with BizTalk schema project in Visual Studio 2008

In a large VS 2008 solution we have different schema projects and mapping projects. The mapping projects reference the appropriate schema projects and this works fine overall. However, recently I added a new schema project and it consistently gives…
MarioDS
  • 12,895
  • 15
  • 65
  • 121
3
votes
1 answer

F# project silently updates my references

I have an F# project in Visual Studio 2012 and I'm trying to reference a specific version of certain assemblies. However, whenever I compile and run the application, the references change to a newer version. I can remove all references then add them…
p.s.w.g
  • 146,324
  • 30
  • 291
  • 331
3
votes
4 answers

Do I need to register the COM dll to be able to reference it on the .NET project?

I'm trying to reference a COM dll in visual studio by using the Browse tab and selecting the DLL. I noticed that if the DLL is registered on the system with regsvr32 I can reference it, but if it's not registered I receive an error selecting the dll…
pauloya
  • 2,535
  • 3
  • 30
  • 50
1 2
3
10 11