tomkuijsten / restup

Webserver for universal windows platform (UWP) apps
MIT License
114 stars 48 forks source link

About error in Restup reference after installed #59

Closed escape2here closed 8 years ago

escape2here commented 8 years ago

Hi guys,

i am a newbie and have a question:

after installed Restup in my VS2015 IDE with "Nuget package manager" if i click on "Restup" icon Reference in my solution Explorer a error was displayed:

This project cannot be viewed in the object browser because it is unavailable or not yet built. Please ensure that the project is available and built.

Is it a fatal error ? If yes whats i wrong ?

Thanks in advance.

Jark commented 8 years ago

Hi @escape2here,

Have you tried building your project?

When you build your project all NuGet package references are pulled in and after that the error should disappear.

Let me know if this solves it or if you have any other questions.

Cheers,

Jark

escape2here commented 8 years ago

Hi Jark,

thanks for your reply. Yes i have built it but the problem still occurred, see a attached screenshot.

Whats i wrong ?

Thanks in advance. screenshot

Jark commented 8 years ago

@Hey Escape2here,

Looks like there's something funky going on with Windows Universal references...

If you right-click on Restup and then click "View in object browser" you should be able to explorer the library.

The namespace you're looking for is Devkoes.Restup.WebServer.

Cheers,

Jark

escape2here commented 8 years ago

Hi Jark, i don't see anything .... :(

screenshot2

Jark commented 8 years ago

Did you right-click on restup and choose "View in object browser" ?

Here's what I did:

viewrestupinobjectbrowser

Cheers,

Jark

escape2here commented 8 years ago

Hi Jark,

if i click dx on "Restup" reference i have only "Proprieties".

I use VS2015 update 1

Thanks. screenshot3

jasonmalinowski commented 8 years ago

Just a heads up, this is a known issue with Visual Studio NuGet references when your project has a project.json file in it. We're tracking it over at dotnet/roslyn#10685

escape2here commented 8 years ago

Thanks @jasonmalinowski.

Jark commented 8 years ago

Thanks @jasonmalinowski, clears this issue up :)

@escape2here, just wanted to confirm that this doesn't stop you from using restup, it will just be a bit harder to figure out what to use.

The wiki: https://github.com/tomkuijsten/restup/wiki

and the sample projects in (HeadedDemo/HeadlessDemo) https://github.com/tomkuijsten/restup/tree/master/src

Cheers,

Jark

escape2here commented 8 years ago

Hi Jark, absolutely not :)

Now i am working on it and seeing the sample project.

Thanks.

tomkuijsten commented 8 years ago

Can this issue be closed?

tomkuijsten commented 8 years ago

Read the whole thread, looks like this can be closed.