Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix paths to xlftool to make it work with VS 15.4 #301

Closed
wants to merge 3 commits into from

Conversation

kant2002
Copy link
Contributor

Since I don't closely monitor changes in the NuGet behavior I could not say is this a settled fix, or it will not cover all cases and both ways should be supported.
Without that change I receive errors when run Build.cmd

@@ -29,23 +29,23 @@
<CreateItem Include="@(ResxResources)" AdditionalMetadata="Language=%(ResxLang.Identity)">
<Output ItemName="LocResourceFile" TaskParameter="Include"/>
</CreateItem>
<Exec Command="$(TestFxPackagesRoot)fmdev.xlftool\0.1.3\tools\xlftool.exe update -Resx %(LocResourceFile.Identity) -Xlf $(ResourceDirectory)\xlf\%(LocResourceFile.Filename).%(LocResourceFile.Language).xlf" />
<Exec Command="$(TestFxPackagesRoot)fmdev.xlftool\0.1.3\tools\xlftool.exe update -Resx %(ResxResources.Identity) -Xlf $(ResourceDirectory)\xlf\%(ResxResources.Filename).xlf" />
<Exec Command="$(TestFxPackagesRoot)fmdev.xlftool.0.1.3\tools\xlftool.exe update -Resx %(LocResourceFile.Identity) -Xlf $(ResourceDirectory)\xlf\%(LocResourceFile.Filename).%(LocResourceFile.Language).xlf" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see both fmdev.xlftool and fmdev.xlftool.0.1.3 paths in packages directory. Could this be a nuget change (may be newer version)?

56 $ ls D:\dd\gh\Microsoft\testfx\packages\fmdev*
    Directory: D:\dd\gh\Microsoft\testfx\packages


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        6/12/2017   5:01 PM                fmdev.xlftool
d-----        6/12/2017   5:01 PM                fmdev.xlftool.0.1.3

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On my PC only single folder generated

PS > ls packages\fmdev*

    Каталог: D:\d\user\GitHub\testfx\packages

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       10/30/2017   1:36 PM                fmdev.xlftool.0.1.3

- Add missing Microsoft.Internal.TestPlatform.ObjectModel
- Fix path to make it work with latest NuGet

Related work items: microsoft#300
@jayaranigarg
Copy link
Member

@kant2002 : Thank you for your Pull Request.
We tried this scenario on a bunch of machines and we see both fmdev.xlftool and fmdev.xlftools.0.1.3 nuget packages being restored. The changes suggested by you can cause build breaks on our CI machines, and we would not want that. Hence we will not be taking this PR.

@@ -2,5 +2,6 @@
<packages>
<package id="Castle.Core" version="4.0.0" targetFramework="net452" />
<package id="Moq" version="4.7.8" targetFramework="net452" />
<package id="Microsoft.Internal.TestPlatform.ObjectModel" version="14.0.0" targetFramework="net452" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can take only this change though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I make only this change on the #310. I still want to find a way how it will work on my PC and without potential problems for you CI setup. If there any hints what bad could happens on CI, I maybe could change something.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are still trying to investigate this. We will get back to you once we figure his out. We will keep this PR open to track this issue. Meanwhile, will push in the other PR.

Copy link
Member

@jayaranigarg jayaranigarg Nov 13, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kant2002 : There is a slight change in plan. I have pushed in the other PR and we will close this PR as well from here. I have created a separate issue to track this action item #311
Let me know if you have any concerns with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants