Giter Club home page Giter Club logo

mirepoix's Introduction

Mirepoix

Build Status

A mirepoix (/mɪərˈpwɑː/ meer-PWAH) is a flavor base made from diced vegetables that are cooked, usually with butter or oil or other fat, for a long time on a low heat without color or browning.

This project contains a handful of useful utility libraries for constructing applications. All libraries target .NET Standard 2.0, but may have platform-specific components.

Most of the functionality in this project has been derived from various utility APIs within other projects within Xamarin, particularly Xamarin Workbooks.

Please browse the full documentation for more information on consuming Mirepoix libraries.

Use

Mirepoix is currently distributed on MyGet while it is still establishing itself. It will move to nuget.org eventually.

Add the feed to your project's NuGet.config to reference packages.

NuGet.config

<configuration>
  <packageSources>
    <add
      key="mirepoix"
      value="https://www.myget.org/F/mirepoix/api/v3/index.json"/>
  </packageSources>
</configuration>

Hack

.NET Core 2.1 is used to build, test, and package Mirepoix.

Build all Projects

dotnet build

Package all NuGets

dotnet pack

Write

  • Open the root of the repository as a workspace in VS Code (code .) and ensure OmniSharp is using mirepoix.sln

  • Or open mirepoix.sln in Visual Studio or Visual Studio for Mac.

Test

It's best to simply run dotnet xunit at the root of the src/*.Tests/ directory to run scoped tests for the library of interest.

Unfortunately running dotnet test at the root of the repository fails on both Windows and macOS locally, even though VSTS is happy to do it.

CI

VSTS is used to produce official builds. See .vsts-ci.yml.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

mirepoix's People

Contributors

abock avatar sandyarmstrong avatar cadsit avatar kzu avatar kirillosenkov avatar rolfbjarne avatar

Stargazers

Kyle Summers avatar Bob "Wombat" Hogg avatar Gábor Mihálcz avatar Vinh Cao avatar Tobias Schulz avatar Baltazar Zuniga Ruiz avatar AnarchyMob avatar Michał Wilski avatar Miguel de Icaza avatar Simona Avornicesei avatar dzmitry-lahoda avatar  avatar Jeroen Janssen avatar David Vreony avatar Avestura avatar Ivan Ivanov avatar Void² avatar  avatar  avatar Kyle White avatar Marius Ungureanu avatar Nikan Doosti avatar Tushar Koshti avatar Matt Sylvia avatar

Watchers

Cody Russell avatar Daniel Plaisted avatar Craig Dunn avatar Alex Soto avatar Jose Miguel Torres avatar Mike Krüger avatar Juan Marcelo Tondato avatar Steve Pfister avatar Matt Sylvia avatar James Cloos avatar Tim Miller avatar moljac avatar Rodrigo Moya avatar Dmitry Lyalin avatar Mauro Agnoletti avatar vishav pandhi avatar Radek Doulik avatar Adlair Cerecedo-Mendez avatar  avatar Edward Skrod avatar Javier Suárez avatar Přemek Vysoký avatar Adrian Murphy avatar Brian Zhu avatar Amanda Silver avatar Joe Sauve avatar Alex Svyatenkiy avatar Charles Bissonnette avatar Lingling Tong avatar Lohitaksh Gupta avatar Srdjan Jovčić avatar Fatima Ijaz avatar  avatar Michael Cummings (MSFT) avatar  avatar

mirepoix's Issues

For projects excluded from a solution configuration, still include the ActiveCfg

Right now when a project is not included in a solution configuration, it's property set in the project configuration doesn't include either ActiveCfg or Build.0 - it's missing entirely.

Unfortunately this messes with Visual Studio 2017 for Windows :( VS Win insists on having ActiveCfg for all configurations, but to avoid building a project in a configuration it wants to omit the Build.0 entry.

Fix Condition on _CanOutputAppBundle

<PropertyGroup Condition="$(_CanOutputAppBundle)">

Instead of Condition="$(_CanOutputAppBundle)" I think it should say Condition="$(_CanOutputAppBundle) != 'false'" or == 'true' depending on which way the default is.

I've seen MSBuild complain today that condition `` was expected to be true or false, but I can't remember where I saw it.

Xamarin.Mac.Sdk bundles reference assemblies instead of real assemblies in the .app

  1. Use Xamarin.Mac.Sdk/0.17.0.
  2. Reference (directly or indirectly) System.Memory or System.Threading.Tasks.Extensions in your app.
  3. Build and run.

Expected results

Correct assemblies are bundled; app runs without issue.

Actual results

Reference assemblies from the nupkg are bundled; app may crash if these assemblies ever need to be loaded and used.

I have created a sample at https://github.com/sandyarmstrong/WitnessMe. See its README for details on reproducing, and where my investigations have taken me so far.

MSBuild properties not passed to /t:GenerateSolution

Hi,

I came across the Xamarin.MSBuild.Sdk package while searching for a better way to manage complex project structures and it has been working great so far. However, I would like to be able to re-use my *.proj file to generate multiple solutions (our framework has multiple target platforms with their own dependencies and we'd like a solution per platform to keep Visual Studio performance issues to a minimum). I tried using the Condition property on a ProjectReference evaluating a value that I passed using /p:MyValue but it isn't recognized. It does work when I use it on GenerateSolutionFilePath mentioned here. I've looked at the code and I think the issue lies with the fact that the SolutionBuilder class doesn't pass globalProperties when loading the project collection.

Any idea if/how this can be fixed?

Thanks in advance,

Regards,

Wouter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.