In one of my previous threads someone said this was possible, so I did research. I couldn't find anything relevant, can anyone say how to do this, if it is possible?
2 Answers
Set the property of every referenced dll Copy Local=true

- 12,769
- 10
- 63
- 83
-
-
-
-
Well he *should* consider it a problem, as he intends to distribute to end users ;) – Andrew Russell Feb 23 '13 at 09:32
I can see from your other post that the framework you are referring to is the XNA framework.
You're really not supposed to be distribute Microsoft DLLs as loose files! You're supposed to distribute the XNA redistributable only!
Using the DLLs without installing them properly can lead to various problems on end-user machines. And distributing them as loose files is against the EULA!
Speaking as a Microsoft MVP for XNA (yes, we still exist, for now):
The official word from Microsoft is that XNA is still "supported". Basically this means that XNA is not suddenly going to break!!!
The XNA framework installer will remain available from Microsoft's website. (Just like, for example, this decade old framework download). You'll still be able to reference it from your installer (eg: ClickOnce). But, if you don't want to require the download, you can distribute the installer yourself (hence: "redistributable").
It will still install successfully on all current versions of Windows. And should continue to install on future versions of Windows.
The recent hullabaloo you may have heard about XNA is simply that Microsoft has made it public that XNA is no longer in development. All this means is that there will be no future versions. The existing versions will still work!

- 1
- 1

- 26,924
- 7
- 58
- 104
-
Thanks for your response, maybe you're right. I can include the redistributable version so there will be no errors(hopefully) and its not against the EULA. I learn something new everyday. Thanks again. – user2066764 Feb 23 '13 at 13:07