GITHUB和本地开发环境的分开配置在.NET 4.5.1

发布于 2025-02-07 17:05:45 字数 243 浏览 2 评论 0原文

我有AC#项目。想在Github上分享。但是我不想在public github repo上分享Google Analytics ID和其他键。有什么方法可以将Dev源代码与GitHub源代码复制与相同的源文件进行分离?总而言之,我不想为公共GitHub存储库增加维护成本。

我不想通过app.config或setter.setting实现这一目标。使用这些配置,我有很多依赖关系,这些依赖关系无法与公共GitHub共享。

请建议另一种解决方案。

I have a c# project. Would like to share it on GitHub. But I don't want to share Google Analytics ID and Other Keys on public GitHub repo. Is there any way to segregate dev source code from GitHub source code copy with the same source files?. I summary, I don't want to add maintinace cost for public GitHub repo.

I don't want to achieve this through App.config or Setting.setting. With these config, I have a lot of dependencies which I can't share with public GitHub.

Please suggest another solution.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文