By portable I mean in installer-less application kind开发者_如何学编程 of way.
Can I somehow bundle the .net framework (or just the assemblies it depends on) with my application so it could run on any Windows system without installing anything?
No. But once the .NET framework is installed, many applications can be "xcopy" deployed.
Note that several versions of Windows do bundle the .NET framework, but it's recommended not to depend on this because everything past .NET 2.0 is optional.
I think this is the same as Can a .NET windows application be compressed into a single .exe?
精彩评论