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 for #8 - regression in autocompete #354

Closed
wants to merge 2 commits into from
Closed

Conversation

dsyme
Copy link
Contributor

@dsyme dsyme commented Apr 9, 2015

This is a potential fix for the regression #8. I prototyped the fix as a change to the F# Compiler Service (which is somewhat easier to test as a component since you can script tests with F# Interactive).

I'm gradually building and running tests though it's challenging (it's a fix to intellisense, my VS CTP5 has expired, and I'm on a slowish connection so can't get VS CTP6).

Submitting here to get a validation of the build and to make it available for further testing.

@dsyme
Copy link
Contributor Author

dsyme commented Apr 9, 2015

@latkin @KevinRansom - I tried to run the "ideunit" tests but got lots and lots of errors, I'm sure unrelated to the fix (they were about failing casts related VS components).

I'm pretty sure I followed the instructions exactly as in DEVGUIDE.md and TESTGUIDE.md, I did this:

    msbuild src/fsharp-library-build.proj  /p:Configuration=Release
    msbuild src/fsharp-compiler-build.proj  /p:Configuration=Release
    msbuild src/fsharp-typeproviders-build.proj  /p:Configuration=Release
    msbuild src/fsharp-compiler-unittests-build.proj  /p:Configuration=Release
    msbuild src/fsharp-library-build.proj /p:TargetFramework=net20 /p:Configuration=Release
    msbuild src/fsharp-library-build.proj /p:TargetFramework=portable47 /p:Configuration=Release
    msbuild src/fsharp-library-build.proj /p:TargetFramework=portable7 /p:Configuration=Release
    msbuild src/fsharp-library-build.proj /p:TargetFramework=portable78 /p:Configuration=Release
    msbuild src/fsharp-library-build.proj /p:TargetFramework=portable259 /p:Configuration=Release
    msbuild src/fsharp-library-unittests-build.proj  /p:Configuration=Release
    msbuild src/fsharp-library-unittests-build.proj /p:TargetFramework=portable47 /p:Configuration=Release
    msbuild src/fsharp-library-unittests-build.proj /p:TargetFramework=portable7 /p:Configuration=Release
    msbuild src/fsharp-library-unittests-build.proj /p:TargetFramework=portable78 /p:Configuration=Release
    msbuild src/fsharp-library-unittests-build.proj /p:TargetFramework=portable259 /p:Configuration=Release
    src\update.cmd release -ngen
    tests\BuildTestTools.cmd release 
    msbuild vsintegration\fsharp-vsintegration-build.proj /p:Configuration=Release
    msbuild vsintegration\fsharp-vsintegration-unittests-build.proj /p:Configuration=Release
    RunTests.cmd release ideunit

If you could either run the tests or double check the "ideunit" instructions I'd be very grateful.

thanks
don

@latkin
Copy link
Contributor

latkin commented Apr 9, 2015

I have trouble running unit tests against VS 12.0 on my box with 12.0 and 14.0, also lots of unhelpful casting errors.

Assuming you want to test this against VS 2015 SDK, you should to double-check that you are building with MSBuild 14.0, so that all of the 14.0 SDK assemblies are referenced.

In the meantime, I'll try running this myself soon.

@dsyme
Copy link
Contributor Author

dsyme commented Apr 9, 2015

ok, I see, thanks

@latkin
Copy link
Contributor

latkin commented Apr 10, 2015

I can confirm that the unit tests now pass 🎉

@dsyme
Copy link
Contributor Author

dsyme commented Apr 10, 2015

Great - I got them to pass on my machine too. Party party party.

@dsyme dsyme changed the title Potential fix for #8 Fix for #8 - regression in intellisense Apr 10, 2015
@dsyme dsyme changed the title Fix for #8 - regression in intellisense Fix for #8 - regression in autocompete Apr 10, 2015
@dsyme dsyme closed this in 5447cd2 Apr 11, 2015
@latkin latkin added the fixed label Apr 11, 2015
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.

None yet

3 participants