SamDel / ChromeCast-Desktop-Audio-Streamer

Stream the sound of your desktop to your Chromecast Audio device
MIT License
412 stars 30 forks source link

Add instructions #43

Closed elibroftw closed 5 years ago

elibroftw commented 5 years ago

Would it be possible for you to add instructions to aid in setting up the project? I'm having trouble getting rid of 92 build errors and cloning it and opening it up in Visual Studio 2019 (after using InstallerProjects and Microsoft.Multilingual.VSExtension too). Example of one. CS0234 The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

SamDel commented 5 years ago

Ok, let's create some instructions. The packages don't install correctly after cloning (I never tried). I'll see if I can improve it.

For now I got it to work with:

Does that work for you?

elibroftw commented 5 years ago

No, but that PMC was useful rather than having to search NuGet for each package 🙄. I get this error https://stackoverflow.com/questions/5567945/type-or-namespace-name-does-not-exist

Severity Code Description Project File Line Suppression State Error CS0234 The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

I completely overlooked my comment. I meant to say could you also add instructions to the ReadME?

UPDATE: EnterpriseLibrary.Common was needed. Now I'm getting

The type or namespace name 'Unity' does not exist in the namespace 'Microsoft.Practices' (are you missing an assembly reference?)

SamDel commented 5 years ago

I will add the instructions to the ReadMe/wiki when done 😊!

Error CS0234 The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

That's the Microsoft.Practices.Unity package missing. Did you try: Update-Package -reinstall Unity in the Package Manager Console?

Maybe you should get a new clone!

elibroftw commented 5 years ago

Installing Cquential.Microsoft.Practices.Unity got rid of the error.

elibroftw commented 5 years ago

I got it working! I had to add using System.Windows.Forms; to Program.cs

SamDel commented 5 years ago

Nice 😊!

I also noticed the missing 'using', and added a fix in the code. I will add the instructions to the Readme and I will have a look if if can be improved.

elibroftw commented 5 years ago

Okay thanks for your response, it helped me google better queries. I'm going to close this now.

elibroftw commented 5 years ago

Oh yeah after a reclone, I didn't even have to do my other installations