Help with Class Library (package)

ariel.szklarkiewicz's Avatar

ariel.szklarkiewicz

30 Oct, 2015 07:14 PM

Hi,

I'm trying to get a build to a class library project, recently moved to CoreClr. Now it's a Class Library (Package) project.
Can you help me with a typical simple configuration?
I'm using Visual Studio 2015 RC as OS, and have tried some tips found out there, but can't get it done.

I'm now getting this error:
C:\projects\commonservicelocator\main\Microsoft.Practices.ServiceLocation\Microsoft.Practices.ServiceLocation (CoreClr).xproj(7,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\DNX\Microsoft.DNX.Props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

Maybe a sample appYevor.yml for a xproj would help.

Thanks in advance!

  1. Support Staff 1 Posted by Feodor Fitsner on 30 Oct, 2015 07:22 PM

    Feodor Fitsner's Avatar

    Why would you need Visual Studio 2015 RC? You should go with the latest Visual Studio 2015 image.

    Is it a public project or private?

  2. 2 Posted by ariel.szklarkie... on 30 Oct, 2015 07:24 PM

    ariel.szklarkiewicz's Avatar

    Why Visual Studio 2015 RC? I understood It was the better choice, but I'm open to change :-)
    It's a public one.

    Thanks!

  3. Support Staff 3 Posted by Feodor Fitsner on 30 Oct, 2015 07:45 PM

    Feodor Fitsner's Avatar

    Can you drop a link to the repo?

    - Feodor

  4. 4 Posted by ariel.szklarkie... on 30 Oct, 2015 07:47 PM

    ariel.szklarkiewicz's Avatar
  5. Support Staff 5 Posted by Feodor Fitsner on 30 Oct, 2015 07:50 PM

    Feodor Fitsner's Avatar

    Oh, config is not in appveyor.yml yet? You can export it on project settings screen.

    - Feodor

  6. 6 Posted by ariel.szklarkie... on 30 Oct, 2015 07:56 PM

    ariel.szklarkiewicz's Avatar

    No, but here it is:

    version: 1.3.0.{build}
    branches:
      only:
      - core-clr
    os: Visual Studio 2015
    init:
    - ps: "set PATH=C:\\Program Files (x86)\\MSBuild\\14.0\\Bin;%PATH% \n&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}\ndnvm list\ndnvm install 1.0.0-beta8\ndnvm alias default 1.0.0-beta8\ndnvm use default\ndnvm list\ndnu restore"
    environment:
      DNX_FEED: https://www.nuget.org/api/v2
    install:
    - ps: 
    build:
      project: main/Microsoft.Practices.ServiceLocation (CoreClr).sln
      publish_nuget: true
      publish_nuget_symbols: true
      include_nuget_references: true
      verbosity: minimal
    
  7. Support Staff 7 Posted by Feodor Fitsner on 02 Nov, 2015 03:01 AM

    Feodor Fitsner's Avatar
  8. 8 Posted by ariel.szklarkie... on 02 Nov, 2015 08:45 PM

    ariel.szklarkiewicz's Avatar

    Hi. It did't work for me. I have been trying different configurations, but no succes until now. Any Idea?

    Thanks,

    Ariel

  9. 9 Posted by ariel.szklarkie... on 06 Nov, 2015 09:04 PM

    ariel.szklarkiewicz's Avatar
  10. Support Staff 10 Posted by Feodor Fitsner on 06 Nov, 2015 09:05 PM

    Feodor Fitsner's Avatar

    Great, thanks for sharing the final solution!

  11. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac