Giter VIP home page Giter VIP logo

Comments (9)

bennor avatar bennor commented on May 3, 2024

Heh. Tempted to say the simplest fix is to use a real source control system, but realiae some people don't have a choice.

Will see what we can do. What you've suggested sounds reasonable.

from refit.

anaisbetts avatar anaisbetts commented on May 3, 2024

the simplest fix is to use a real source control system

This

What you've suggested sounds reasonable.

This too

from refit.

pierskarsenbarg avatar pierskarsenbarg commented on May 3, 2024

I think this might be the same issue, but if it's not then I'll open a new issue.

On build I'm getting

C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1069, 5): error MSB3073: The command ""..\packages\refit.2.1.0\tools\InterfaceStubGenerator.exe" "C:\TeamCity\buildAgent\work\5c154ea65fba2a12\src\Website\RefitStubs.cs" "App_Start\IoC.cs;App_Start\LessTransform.cs;App_Start\RouteConfig.cs;App_Start\BundleConfig.cs;Classes\BundleHelper.cs;Classes\FormHelper.cs;Controllers\CallbackController.cs;Controllers\T101AsyncController.cs;Models\ConfirmationViewModel.cs;Orchestrators\ISecurePaymentOrchestrator.cs;Controllers\SecureController.cs;Orchestrators\SecurePaymentOrchestrator.cs;Controllers\T101Controller.cs;Global.asax.cs;Models\PaymentViewModel.cs;Properties\AssemblyInfo.cs"" exited with code 3.

I'm using teamcity with github. Is this going to be fixed in the next nuget release?

from refit.

anaisbetts avatar anaisbetts commented on May 3, 2024

@pierskarsenbarg Doesn't seem like the same issue

from refit.

pkl728 avatar pkl728 commented on May 3, 2024

@pierskarsenbarg Did you ever resolve this issue? I'm having the same issue now. I can't tell if it's just because TeamCity is in the wrong directory or what when it is trying to do the Pre-build event on my core project.

from refit.

pierskarsenbarg avatar pierskarsenbarg commented on May 3, 2024

I did what @bennor suggested here. That made it work.

from refit.

CADbloke avatar CADbloke commented on May 3, 2024

I just ran into this problem building https://github.com/flagbug/Espera after updating all the Paket packages. Problem was Refit's folder name is refit, not refit.2.2.1 so Espera\packages\refit\build\refit.targets is wrong on lines 5 & 9

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
    <PreBuildEvent>"$(SolutionDir)packages\refit.2.2.1\tools\InterfaceStubGenerator.exe" "$(ProjectDir)RefitStubs.cs" "@(Compile)"</PreBuildEvent>
  </PropertyGroup>

  <PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
    <PreBuildEvent>mono "$(SolutionDir)packages/refit.2.2.1/tools/InterfaceStubGenerator.exe" "$(ProjectDir)RefitStubs.cs" "@(Compile)"</PreBuildEvent>
  </PropertyGroup>
</Project>

from refit.

clairernovotny avatar clairernovotny commented on May 3, 2024

that sounds like an old version of Refit. The current targets do not have the version in the path or any relation to $(SolutionDir):
https://github.com/paulcbetts/refit/blob/master/Refit/targets/refit.targets#L26

The current version of Refit is 2.4.1; can you try that?

from refit.

clairernovotny avatar clairernovotny commented on May 3, 2024

Closing this issue as the original problem has been solved. Generated files are written to the intermediate output path location (in obj). If there are still issues with TFS Build, then new issues should be opened.

from refit.

Related Issues (20)

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.