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

dotnet try error - Type Not Found (System.Object, System.String, System.Int32, etc) workaround #38

Open
LadyNaggaga opened this issue Aug 21, 2019 · 2 comments
Labels
Known Issue Workaround Workaround to known issues

Comments

@LadyNaggaga
Copy link
Contributor

LadyNaggaga commented Aug 21, 2019

Reproducing Error

  • In the terminal navigate to folder with Try .NET samples.
  • Run dotnet try.
    dotnet try
  • This will launch the browser.
  • Hit run and you might see the error below.
    MicrosoftTeams-image

Possible causes

Fix

  • Open the code project directory try-samples\Beginners\myapp in an editor or file explorer
  • Delete the following folders ‘bin’ and ‘obj’
  • Delete .binlog file
    image
  • Run dotnet try verify . at the ``try-samples\Beginners` folder a terminal.
    image
  • Run dotnet try.
  • Hit run once the browser has launched
  • All fixed!
@LadyNaggaga LadyNaggaga added Known Issue Workaround Workaround to known issues labels Aug 21, 2019
@BillWagner
Copy link
Member

I've run into this issue occasionally. It seems to happen after I've updated one of: Visual Studio, .NET Core SDK, or dotnet-try. I haven't tracked it down conclusively yet

@LadyNaggaga
Copy link
Contributor Author

@BillWagner Thank you! I will update the issue to state the above as possible causes.

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

No branches or pull requests

2 participants