Comments (4)
I'll take a look at it in the weekend and see what it has to offer.
from velcrophysics.
Looks interesting - I'm not entirely sure how to build the definition file as I have many projects depending on each other etc.
I would be happy if someone with experience in Protobuild could sketch up a solution and contribute it.
from velcrophysics.
Maybe the project owner @hach-que can help?
from velcrophysics.
Sure, what do you need?
Referencing another Protobuild definition or a GAC reference
Just add it to the references section like this:
<?xml version="1.0" encoding="utf-8"?>
<Project Name="ProjectA" Path="ProjectA" Type="Library">
<Properties />
<References>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="ProjectB" />
</References>
Referencing DLLs in your repo, native DLLs or custom .csproj
files
First you need to declare an external project definition (see http://protobuild.readthedocs.io/en/latest/external_projects.html for information on how these are structured and what you can do with them). Then you'd reference the external project just as you would any other Protobuild definition:
<?xml version="1.0" encoding="utf-8"?>
<Project Name="ProjectA" Path="ProjectA" Type="Library">
<Properties />
<References>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="ExternalProject" />
</References>
Referencing NuGet packages:
First add the package to your module by running:
Protobuild.exe --add NameOfNuGetPackage@SpecificVersion
then reference the NuGet package:
<?xml version="1.0" encoding="utf-8"?>
<Project Name="ProjectA" Path="ProjectA" Type="Library">
<Properties />
<References>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="SomeNuGetPackage" />
</References>
Referencing a Git repository
If you want to reference another Git repository that's using Protobuild (like MonoGame), you first add the Git repository as a package e.g.:
Protobuild.exe --add https-git://github.com/MonoGame/MonoGame@develop
then reference the specific projects in the package you want to pull in:
<?xml version="1.0" encoding="utf-8"?>
<Project Name="ProjectA" Path="ProjectA" Type="Library">
<Properties />
<References>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="MonoGame.Framework" />
</References>
from velcrophysics.
Related Issues (20)
- BodyTemplate.GravityScale is ignored HOT 1
- Problem with sliding HOT 8
- Can't run HelloWorld project on VS 2017 HOT 2
- MVP Sandbox HOT 1
- Requires XNA, no mention of that on the description or front page HOT 1
- TextureConverter.DetectVertices() throws InvalidOperationException on blank textures HOT 1
- Documentation or tutorials needed HOT 3
- VelcroPhysics and Unity HOT 1
- Upgrading from Farseer -- what do you think of Aether? HOT 2
- how to get the contact point from TOI? HOT 5
- Importing SVG HOT 3
- NuGet not available HOT 12
- Setting contact.Enabled = false not having effect HOT 4
- Weird collisions on edges in rectangles HOT 1
- Invert Y axis HOT 1
- Question: Documentation and/or Forum HOT 1
- Updating NuGet Package HOT 1
- Is is still active?
- Possible license breach? HOT 1
- Non-issue. Please delete.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from velcrophysics.