简体   繁体   English

VS2015类不生成.dll

[英]VS2015 class not building .dll

This is essentially identical to Class Library Project File not compiling into .dll or debugging , but that item was from 2009 and should be closed and inactive by now. 这基本上与未编译为.dll或调试的类库项目文件相同,但该项目是2009年开始的,应立即关闭并处于非活动状态。

I, too, have a class solution/project that should be producing a .dll on successful build and isn't. 我也有一个类解决方案/项目,该类解决方案/项目应该在成功构建时生成.dll,但不是。

I have followed all instructions in the previously referenced stack overflow item to no avail. 我没有遵循先前引用的堆栈溢出项中的所有指令。 It doesn't matter if I clean the build, build debug or release versions. 我清理构建,构建调试或发行版本都没有关系。 There are no errors, no warnings, and no messages whatsoever. 没有错误,没有警告,也没有消息。

The Build always succeeds. 构建始终成功。 If I do a Clean it always succeeds. 如果我进行清洁,它总是成功。

The Output path is correct. 输出路径正确。

How do I get around this issue and get output from the Build? 如何解决此问题并从Build获取输出?

I'm pretty much at my wits end. 我几乎全神贯注。 Any thoughts or suggestions? 有什么想法或建议吗? This is VS 2015, version 14.0.25431.01 Update 3 running on Windows 10 Pro. 这是Windows 10 Pro上运行的VS 2015版本14.0.25431.01 Update 3。

Thanks in advance for any suggestions. 在此先感谢您的任何建议。

Ok, so I'm a screw-up! 好吧,所以我搞砸了! Sometimes you have to get frustrated to find the real problem... 有时您必须沮丧才能找到真正的问题...

If you have this problem, one suggestion would be to verify that you really loaded the solution/project from the location on the (a) hard drive that corresponds to the one you are trying to reference in another solution. 如果遇到此问题,一个建议是验证您是否确实从(a)硬盘驱动器上的位置真正加载了解决方案/项目,该位置与您尝试在另一解决方案中引用的位置相对应。 Be careful when doing so, sometimes those "Recent" solutions aren't really what you think they are. 这样做时要小心,有时那些“最近的”解决方案并不是您真正想的那样。

Sorry to clog space up with such a stupid issue. 抱歉,如此愚蠢的问题阻塞了空间。 It's getting late; 天色已晚; I must be getting a little tired. 我一定有点累。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM