Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源码编译失败,是否缺失东西? #114

Open
LJ-Roger-LJ opened this issue Nov 2, 2024 · 7 comments
Open

源码编译失败,是否缺失东西? #114

LJ-Roger-LJ opened this issue Nov 2, 2024 · 7 comments

Comments

@LJ-Roger-LJ
Copy link

按照链接编译项目
https://mp.weixin.qq.com/s/M8as_AsVAFsiImDhaX7TKQ
显示不存在各名称,是否缺失文件。

TargetFrameworks.props 已修改为

<TargetFrameworks>net8.0-windows</TargetFrameworks>

@yanjinhuagood
Copy link
Member

感谢反馈,正常现在使用dev分支可以编译成功吧。
https://github.com/WPFDevelopersOrg/WPFDevelopers/blob/dev/src/TargetFrameworks.props

<TargetFrameworks>net45;net46;net47;net48;net5.0-windows;net6.0-windows;net7.0-windows;net8.0-windows;netcoreapp3.0</TargetFrameworks>

@LJ-Roger-LJ
Copy link
Author

不好意思,上面提交issue时忘放图片了,
一、这是第一次按 链接 [https://mp.weixin.qq.com/s/M8as_AsVAFsiImDhaX7TKQ](url) 来拉取dev最新一次提交。并修改 <TargetFrameworks>net8.0-windows</TargetFrameworks> 后编译的结果
WPFDevelopers编译问题

二、这是重新从Github上拉取的dev分支 1.1.0.1-preview8 版本,只卸载Net40和Sample40项目,后编译Net45x项目的结果。
WPFDevelopers编译问题_dev_1
这应该是源码吧 还是说要格外添加什么库

@yanjinhuagood
Copy link
Member

用的SVN啊,可能是选择了标签的问题。

  • 1.建议你使用下git命令拉一下。
git clone -b dev https://github.com/WPFDevelopersOrg/WPFDevelopers.git
  • 2.直接去项目Download ZIP
    image

@LJ-Roger-LJ
Copy link
Author

用的SVN啊,可能是选择了标签的问题。

  • 1.建议你使用下git命令拉一下。
git clone -b dev https://github.com/WPFDevelopersOrg/WPFDevelopers.git
  • 2.直接去项目Download ZIP
    image

下载了压缩包也是一样,感觉是否是使用的SDK的问题?
WPFDevelopers编译问题_dev_2

@LJ-Roger-LJ
Copy link
Author

用的SVN啊,可能是选择了标签的问题。

  • 1.建议你使用下git命令拉一下。
git clone -b dev https://github.com/WPFDevelopersOrg/WPFDevelopers.git
  • 2.直接去项目Download ZIP
    image

下载了压缩包也是一样,感觉是否是使用的SDK的问题? WPFDevelopers编译问题_dev_2

WPFDevelopers编译问题_dev_3

@yanjinhuagood
Copy link
Member

非常抱歉,晚点我修改。

yanjinhuagood added a commit that referenced this issue Nov 2, 2024
Fix Issue (#114
@yanjinhuagood
Copy link
Member

已更新
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants